using System;

namespace Edge.Common.ComponentModel
{
    [AttributeUsage(AttributeTargets.Property)]
    public class DesignerScopeAttribute : Attribute
    {
        DesignerScope scope = DesignerScope.All;

        public const DesignerScope DefaultScope = DesignerScope.EditView;

        public DesignerScopeAttribute(DesignerScope scope)
        {
            this.scope = scope;
        }


        public DesignerScope Scope
        {
            get { return scope; }
            set { scope = value; }
        }
    }
}